package lumis.content.workflow.serialization;

import java.util.ArrayList;

import lumis.content.workflow.WorkflowPermission;

/**
 * Data to be used in a lazy workflow permission persistence
 *
 * @version $Revision: 5362 $ $Date: 2006-12-15 19:58:24 -0200 (Fri, 15 Dec 2006) $
 * @since 4.0.8
 */
public class WorkflowPermissionPersistenceData
{
	private final String serviceInstanceId;
	private final ArrayList<WorkflowPermission> deserializedPermissions;
	public WorkflowPermissionPersistenceData(final String serviceInstanceId, final ArrayList<WorkflowPermission> deserializedPermissions)
	{
		super();
		this.serviceInstanceId = serviceInstanceId;
		this.deserializedPermissions = deserializedPermissions;
	}
	public ArrayList<WorkflowPermission> getDeserializedPermissions()
	{
		return deserializedPermissions;
	}
	public String getServiceInstanceId()
	{
		return serviceInstanceId;
	}
	
}
